package com.tudouji.project.product.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 品牌管理对象 brand
 * 
 * @author wf
 * @date 2020-12-28
 */
@Data
public class Brand
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String guid;

    /** 分类 */
    @Excel(name = "分类")
    private String categoryid;

    private String[] categoryids;

    /** 品牌编号 */
    @Excel(name = "品牌编号")
    private String code;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String name;

    /** 非标标识 */
    @Excel(name = "非标标识")
    private Integer flag;

    /** 操作人id */
    private String operatorid;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operator;

    private Category category;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
}
